Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NEW(eslint): @W-17495039@: Allow users to specify other file extensions tha… #181

Merged
merged 1 commit into from
Dec 27, 2024

Conversation

stephen-carter-at-sf
Copy link
Collaborator

…t aren't associated with base plugins but only custom plugins

files: this.config.file_extensions.javascript.map(ext => `*${ext}`),
extends: [`eslint:${baseRuleset}`]
}
return this.addJavascriptParser(jsConfig);
Copy link
Collaborator Author

@stephen-carter-at-sf stephen-carter-at-sf Dec 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Fix as you go item] I realized that the base config needed a parser while doing some addition testing on just the base rules. I just assumed that the default would just work out of the box. I never caught this before because the LWC rules were always pulling in the parser. So this only comes up when you disable the lwc rules but keep the base rules enabled.

…t aren't associated with base plugins but only custom plugins
@stephen-carter-at-sf stephen-carter-at-sf merged commit 5debd20 into dev Dec 27, 2024
7 checks passed
@stephen-carter-at-sf stephen-carter-at-sf deleted the sc/W-17495039 branch December 27, 2024 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants